package com.lebang.mapper;

import com.lebang.domain.MemberRebateTotalmoney;
import com.lebang.example.MemberRebateTotalmoneyExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * MemberRebateTotalmoneyMapper继承基类
 */
@Mapper
public interface MemberRebateTotalmoneyMapper extends MyBatisBaseDao<MemberRebateTotalmoney, Integer, MemberRebateTotalmoneyExample> {

    MemberRebateTotalmoney selectById(String memberId);

    void addTotalMoney(@Param("memberId") String memberId,@Param("amount") int amount);

    void addTotalTsMoney(@Param("memberId")String memberId, @Param("amount")int amount);
}